import React, {Component} from 'react';
import {NavLink} from "react-router-dom";
import "../../css/mainhead.scss"
class MainHead extends Component {
	render() {
		return (
			<div id="mainhead">
				<NavLink to="/?tab=all">全部</NavLink>
				<NavLink to="/?tab=good">精华</NavLink>
				<NavLink to="/?tab=share">分享</NavLink>
				<NavLink to="/?tab=ask">问答</NavLink>
				<NavLink to="/?tab=job">招聘</NavLink>
				<NavLink to="/?tab=dev">客户端测试</NavLink>
			</div>
		);
	}
}

export default MainHead;